<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="dtree.css" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/dtree.js"></script>
</head>
<body>
 <div>
     <script type="text/javascript">
      var dtree = new dTree('dtree');
      dtree.add(0,-1,"T16班");
      dtree.add(1,0,"教师",'index.jsp');
      dtree.add(2,1,"班主任",'index.jsp');
      dtree.add(3,1,"教员");
      dtree.add(4,0,'班干部','index.jsp');
      dtree.add(5,4,'班长','index.jsp');
      dtree.add(6,4,'学委','index.jsp');
      dtree.add(7,0,'学员','index.jsp');
      dtree.add(8,7,'学员1','index.jsp');
      dtree.add(9,7,'学员2','index.jsp');
      dtree.add(10,7,'学员3','index.jsp');
      dtree.add(11,7,'学员4','index.jsp');
      dtree.add(12,7,'学员5','index.jsp');
      document.write(dtree);
     </script>
    </div>  
</body>
</html>